/*
** my_str_isalpha.c for my_str_isalpha in /home/goupil_r//afs/Jour_06
** 
** Made by robin goupil
** Login   <goupil_r@epitech.net>
** 
** Started on  Mon Oct  8 15:58:35 2012 robin goupil
** Last update Sat Oct 27 09:09:08 2012 robin goupil
*/

int	my_str_isnum(char *str)
{
  int	i;

  i = 0;
  while (str[i] != 0)
    {
      if (str[i] < '0' || str[i] > '9')
	return (0);
      i = i + 1;
    }
  return (1);
}
